﻿# FindHIK_MVS.cmake

find_path(HIK_MVS_INCLUDE_DIRS
            NAMES 
                MvCameraControl.h 
            HINTS 
                "C:/Program Files (x86)/MVS/Development/Includes"
                "D:/Program Files (x86)/MVS/Development/Includes"
                "E:/Program Files (x86)/MVS/Development/Includes"
            )

find_library(HIK_MVS_LIBRARIES
            NAMES
                MvCameraControl.lib
            PATHS
                "C:/Program Files (x86)/MVS/Development/Libraries/win64"
            )


include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(HIK_MVS
            FOUND_VAR
                HIK_MVS_FOUND
            REQUIRED_VARS
                HIK_MVS_INCLUDE_DIRS
                HIK_MVS_LIBRARIES
                )


mark_as_advanced(HIK_MVS_LIBRARIES) # show entry in cmake-gui

